﻿<?php
define('TXTC4',true);

$content=$_GET['mail'].$_GET['tel']."......".$_GET['info'];

require 'phpmailer/test.php';
$fwq  = "smtp.qq.com"; 
$dk   = 465;//端口   
$fjzh = "838768967@qq.com";//邮箱发送方  必须跟授权密码相关联
$fjmm = "dxmzcdjefzbcbdac"; //邮箱授权密码
$nc   = $_GET['name'];//发件人名称
$sjr  = "838768967@qq.com";//邮箱接收方
$bt   = "筱宇科技留言板块";//标题
$nr = $content;//内容
echo(sendmail($fwq,$dk,$fjzh,$fjmm,$nc,$sjr,$bt,$nr));
Header("Location:  index.html?emain=ok"); 
?>